﻿<%@ Page Language="vb" AutoEventWireup="False" CodeBehind="databindingpage.aspx.vb" Inherits="exercice5a_databinding.databindingpage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .dataBindTableStyle
        {
            width: 100%;
            border-collapse: collapse;
            float: left;
            border-left-style: solid;
            border-left-width: 1px;
            border-right: 1px solid #C0C0C0;
            border-top-style: solid;
            border-top-width: 1px;
            border-bottom: 1px solid #C0C0C0;
        }
        
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
        <table align="center" class="dataBindTableStyle">
            <tr>
                <td colspan="4"><asp:DropDownList ID="ddlPays" runat="server" AutoPostBack="true"></asp:DropDownList></td>
            </tr>
            <tr>
                <td>Clef : </td>
                <td><asp:Label ID="lCle" runat="server" Text="<%# paysCle %>"></asp:Label></td>
                <td>Valeur : </td>
                <td><asp:Label ID="lValeur" runat="server" Text="<%# paysValeur %>"></asp:Label></td>
            </tr>
        </table>
        
    </div>
    </form>
</body>
</html>
